{template game_header}

<style type="text/css">
td{text-align:center;}
</style>

<h4 style="padding-left:10px;;">
    <span>POI详情</span>
</h4>
<form class="form-horizontal" method="post" action="?c=adminGame&a=poiDetail" {if $type == 0}style="display:none;"{/if}>
    <div class="control-group search-group" style="margin:0;">
        <label class="control-label" >怪物id：</label>
        <div class="controls">
          <input type="text" placeholder="boss_id" name="boss_id" value="{$search['boss_id']}">
        </div>
    </div>
    <div class="control-group search-group" style="margin:0;">
        <div class="controls">
            <input type="hidden" value="search" name="s">
            <input type="hidden" value="{$type}" name="type">
            <input type="hidden" value="{$poi}" name="poi">
            <button class="btn" type="submit">搜索</button>
        </div>
    </div>
</form>

<div class="bs-docs-example table-align pt-15" style="clear:both;">
    <table class="table table-striped">
        <thead>
            <tr>
                <th {if $type == 0}style="display:none;"{/if}>怪物id</th>
                <th>用户id</th>
                <th>宠物等级</th>
                <th>宠物三维</th>
            </tr>
        </thead>
        <tbody>
            {if !$list}  
                <tr>
                    <td {if $type == 0}colspan="3"{else}colspan="4"{/if}>暂无记录</td>              
                </tr>
            {else}

            {loop $list $k $v}
            <tr>
                <td {if $type == 0}style="display:none;"{/if}>{$v['boss_id']}</td>
                <td>{$v['uid']}</td>
                <td>{$v['level']}</td>
                <td>{$v['points']}</td>
            </tr>
            {/loop}

            {/if}
        </tbody>
    </table>
</div>
<div class="pagination">
    <ul>
        {$pageStr}
    </ul>
</div>
{template footer}
